package com.yhb.utils;

import com.yhb.conf.ResultCode;
import me.edzh.spring.bootstrap.common.GlobalPropertiesConfigurer;
import me.edzh.spring.bootstrap.utils.exception.ServiceException;
import org.apache.log4j.MDC;

/**
 * Created by EdCho
 * 2018/4/7 007.
 */
public class Constants extends me.edzh.spring.bootstrap.utils.Constants {

    public static final int RSA_SEGMENT = 233;
    public static final int RSA_SEGMENT_DECRYPT = 256;

    /**
     * 获取业务基本url (存在 data-source.properties里面, 需要手动改)
     */
    public static String getBaseUrl() {
        return GlobalPropertiesConfigurer.getProperty("config.url");
    }



}
